<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>


<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'htmlOptions' => array( 'class' => 'login-form'),
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>


<div class="header">
		<img alt="Vinxenter Logo" src="/images/logo-redx.png" />
		<br>
		<span>Login Vinxenter Vip Zone to get more model</span>
</div>


		<div class="content">


		<?php echo $form->textField($model,'username' ,array('class' => 'input username', 'placeholder'=>'Username')); ?>
		<div class="user-icon"></div>



	
		
		<?php echo $form->passwordField($model,'password' ,array('class' => 'input password', 'placeholder'=>'Password')); ?>
		<div class="pass-icon"></div>		
		
		
		<div class="login-message">
		<?php echo $form->error($model,'username'); ?>	
		<?php echo $form->error($model,'password'); ?>
		</div>

</div>

		<div class="footer">

		<div class="rememberMe">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
		
		</div>
					
		
		<?php echo CHtml::submitButton('Login', array( 'class' => 'button')); ?>
		<?php echo CHtml::submitButton('Register', array( 'class' => 'register')); ?>
		
	</div>
	

<?php $this->endWidget(); ?>

